#include  <iostream>

using namespace std;

int main()
{
	int a, b, sum = 0;
	cin >> a >> b;
	sum = a*10 + b; 
	cout << sum/19; 
    return 0;
}

